﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Bird :Animal,iflyable
    {
        public Bird(string brak) : base(brak)
        {
        }

        public void fly()
        {
            Console.WriteLine("我在飞");
        }

        public void land()
        {
            Console.WriteLine("我正在休息");
        }

        public void takeoff()
        {
            Console.WriteLine("我准备飞");
        }
        public void layEggs() {
            Console.WriteLine("我正在寻找食物，我已经寻找了{0}个小时",Brak
                );
        }
    }
}
